﻿using System.ComponentModel.DataAnnotations;

namespace RestController.SampleWeb.Models.Metadata
{
    
    internal class CategoryMetadata
    {
        [Required(ErrorMessage = "Name is required"), StringLength(255, ErrorMessage = "Name cannot exceed 255 characters.")]
        public string Name { get; set; }
    }
}